package com.fanketly.funacg2.utils

import androidx.annotation.StringRes
import com.fanketly.funacg2.App
import com.fanketly.funacg2.R


fun getAppString(@StringRes id: Int) = App.sApplication.getString(id)

object StringUtils {
    fun getFailString(s: String?) = s ?: App.sApplication.getString(R.string.load_failed)
}